package com.cloud.service.impl;

import com.cloud.dao.UserDao;
import com.cloud.service.SearchService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author wangjian (jian.wang@bertelsmann.com.cn)
 * @Date 2016/12/20 16:40
 */
@Service
public class SearchServiceImpl implements SearchService{

    @Autowired
    UserDao userMapper;

    @Override
    public String searchAll(){
       return  userMapper.findAll().toString();
    }

//    public List<UserDto> selectUser(){
//        List<UserDto> userList =userServiceClient.queryUserList();
//        return userList;
//    }

}
